package com.qingcloud.wcenter.model.sdata.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * IAQI排行返回数据
 */
@Data
public class StationIaqiRankData implements Serializable {

    @ApiModelProperty(value = "监测点编号", example = "90265")
    private String stationId;

    @ApiModelProperty(value = "监测点名称", example = "好大一个站")
    private String stationName;

    @ApiModelProperty(value = "频率", example = "80")
    private String rate;

    @ApiModelProperty(value = "IAQI", example = "10")
    private String iaqi;

    public String getIaqi() {
        return iaqi == null ? "--" : iaqi;
    }
}
